package com.fan.service.provider;

import com.fan.pojo.Provider;
import com.fan.pojo.User;

import java.util.List;

public interface ProviderService {
    public int getProviderCount(String proCode,String proName);
    public List<Provider> getProviderList(String queryProCode, String queryProName, int currentPageNo, int pageSize);
    public List<Provider> getProviderList();
    public boolean addProvider(Provider provider);
    public boolean deleteProviderById(Integer delId);
    public Provider getProviderById(String id);
    public boolean updateProvider(String id,String proCode,String proName,String proDesc,String proContact,String proPhone,String proAddress,String proFax);
}
